<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <!-- <HelloWorld :msg="title" /> -->
  </div>
</template>

<script>
// @ is an alias to /src

import { Toast, ImagePreview } from "vant";

// import Toast from 'vant/lib/toast';
// import 'vant/lib/toast/style';

export default {
  name: "Home",
  components: {
    [Toast.name]: Toast,
    [ImagePreview.Component.name]: ImagePreview,
  },
  data() {
    return {
      title: "标题",
    };
  },

  created() {},
  mounted() {
    // let param = {};
    
    // this.$api.login.postUserLogin(param).then((res) => {
    //   console.log(res);
    //   // this.data = res.data.data;
    //   // this.loading = false;
    //   ImagePreview({
    //     images: [
    //       "https://img.yzcdn.cn/vant/apple-1.jpg",
    //       "https://img.yzcdn.cn/vant/apple-2.jpg",
    //     ],
    //     closeable: true,
    //   });
    // });
    // Toast('222')
  },
  methods: {},
};
</script>
